home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d22 / chmod.arc / CHMOD.DOC < prev    next >
Text File  |  1986-03-04  |  768b  |  25 lines

  1. The CHMOD command allows the user to change the attribute bytes
  2. associated with a file on the disk. The ones that you can change are:
  3.  
  4.     n - normal file (what most of them are)
  5.     r - READ-ONLY (list on the directory, but can not be deleted
  6.         unless change it back to NORMAL)
  7.     h - HIDDEN (won't list on a DIR command - you must remember
  8.         that it is there and change it back to NORMAL to
  9.         manipulate it)
  10.     a - set the ARCHIVE bit
  11.  
  12. The format of the command is
  13.  
  14.     chmod filename attribute
  15.  
  16. Example
  17.  
  18.     chmod command.com r    ; Prevent the command file from being
  19.                   deleted
  20.  
  21.     chmod command.com na    ; reset back to NORMAL and set the
  22.                   ARCHIVE bit
  23.  
  24.     chmod private.txt h    ; HIDE my file so no one can see it
  25.